import { BaseData } from '../base-data';
import { TableConfig } from './table-config.models';

export interface ItemAddDialogData<T extends BaseData> {
  tableConfig: TableConfig<T>;
}

export interface ItemAction<T extends BaseData> {
  event: Event;
  action: string;
  item: T;
}

export interface IItemDetailsPageComponent {
  reload(): void;
  goBack(): void;
}